This sample-size calculator estimates how many independent observations are needed to estimate a population proportion with a chosen two-sided confidence level and margin of error. It uses a normal approximation and can apply a finite-population correction when the eligible population size is known.
The result addresses random sampling precision under the formula’s assumptions. It does not fix selection bias, low response, clustering, weighting, measurement error, or a poorly defined target population. Complex studies often need design effects, expected response rates, subgroup targets, and professional statistical planning.
